package com.caizi.designpattern.singleton;

/**
 * 饿汉式
 * 
 * @author caizi
 * 
 */
public class HungrySingleton {

    private static HungrySingleton instance = new HungrySingleton();

    private HungrySingleton() {

    }

    public static HungrySingleton getInstance() {
        return instance;
    }
}
